{extend name="common/main"}

{block name="head"}

{include file="common/head"}

{/block}

{block name="content"}

<link href="__STATIC__/home/css/mz.css" rel="stylesheet" type="text/css" />

<div class="contentmain">
  <div class="tszl_title">
    <h3>当前位置：<a href="{:url('home/index/index')}">首页</a><span>></span>民族医药单方</h3>
  </div>
  <div class="sub_con">
    <div class="tszl_sub"> <span class="tszl_big">民族医药单方</span><span class="tszl_small">THE FOLK MEDICINE OF ETHNIC UNILATERALLY</span> </div>
    <div class="tszl_sx">
      <div class="search_results">
        <a href="{:url('home/characteristic/index')}">全部</a>><span>{notempty name="kw"}"{$kw}"{else /}{$kw}{/notempty}</span>共<b>{$snum|default=0}</b>个 单方
      </div>
      <div id="page-search-store" class="border sxcon">
        <div class="search-by by-category relative">
            <dl class="relative clearfix">
              <dt class="Fleft"><a href="javascript:;">按地区：</a></dt>
              <dd class="Fleft show-con">
                  <a href="{:url('home/prescription/index')}?aid=&nid={:input('nid')}&did={:input('did')}&kw={:input('kw')}">
                    <span {empty name="aid"}class="search_float"{/empty}>不限</span>
                  </a>
                  {volist name="areas" id="vo" empty=""}
                  <a href="{:url('home/prescription/index')}?aid={$vo['area_id']}&nid={:input('nid')}&did={:input('did')}&kw={:input('kw')}">
                    <span {eq name="aid" value="$vo.area_id"}class="search_float"{/eq}>{$vo.area_name}</span>
                  </a>
                  {/volist}
              </dd>
              <dd class="Fright show-more">
                <h3 class="pointer clearfix">更多</h3>
              </dd>
            </dl>
            <dl class="relative clearfix" style="border-bottom:0">
              <dt class="Fleft"><a href="javascript:;">按民族：</a></dt>
              <dd class="Fleft show-con">
                  <a href="{:url('home/prescription/index')}?nid=&aid={:input('aid')}&did={:input('did')}&kw={:input('kw')}">
                    <span {empty name="nid"}class="search_float"{/empty}>不限</span>
                  </a>
                  {volist name="nations" id="vo" empty=""}
                  <a href="{:url('home/prescription/index')}?nid={$vo['id']}&aid={:input('aid')}&did={:input('did')}&kw={:input('kw')}">
                    <span {eq name="nid" value="$vo.id"}class="search_float"{/eq}>{$vo.title}</span>
                  </a>
                  {/volist}
              </dd>
              <dd class="Fright show-more">
                <h3 class="pointer clearfix">更多</h3>
              </dd>
            </dl>
            <dl class="relative clearfix" style="border-bottom:0">
              <dt class="Fleft"><a href="javascript:;">按疾病：</a></dt>
              <dd class="Fleft show-con">
                  <a href="{:url('home/prescription/index')}?did=&aid={:input('aid')}&nid={:input('nid')}&kw={:input('kw')}">
                    <span {empty name="did"}class="search_float"{/empty}>不限</span>
                  </a>
                  {volist name="diseases" id="vo" empty=""}
                  <a href="{:url('home/prescription/index')}?did={$vo['id']}&aid={:input('aid')}&nid={:input('nid')}&kw={:input('kw')}">
                    <span {eq name="did" value="$vo.id"}class="search_float"{/eq}>{$vo.title}</span>
                  </a>
                  {/volist}
              </dd>
              <dd class="Fright show-more">
                <h3 class="pointer clearfix">更多</h3>
              </dd>
            </dl>
        </div>
      </div>
    </div>
    <div class="mz_list">
      <ul>
        {volist name="list" id="vo" offset="0" length="" empty="暂无数据"}
        <li>
          <div class="mz_pic">
              <a href="javascript:;" class="pp" data-m="prescription" data-id="{$vo.id}">
              <img src="{$vo.thumb}">
              </a>
          </div>
          <div class="mz_font">
            <h3><a href="javascript:;" class="pp" data-m="prescription" data-id="{$vo.id}">{$vo.title}</a></h3>
          </div>
        </li>
        {/volist}
      </ul>
    </div>
    <!-- <div class="tcdPageCode"></div> -->
    <div class="page">{$page}</div>   
    <style type="text/css">
      .page .pagination {position:inherit;display: inline-block; padding-left: 0; margin: 20px 0 0px; border-radius: 4px; }
      .page .pagination>li {display: inline;}
      .page .pagination>li>a, .page .pagination>li>span {position: relative; float: left; padding: 6px 12px; margin-left: -1px; line-height: 1.42857143; color: #78201f; text-decoration: none; background-color: #fff; border: 1px solid #ddd; cursor: pointer; margin: 0 2px;}
      .page .pagination>.active span{z-index: 3; color: #fff; cursor: default; background-color: #78201f; border-color: #78201f;} .page .pagination>.disabled span{color: #bfbfbf; cursor: not-allowed; background-color: #fff; border-color: #ddd;} 
      .page .pagination>li>a:hover{background: #78201f; color: #fff;}
    </style>
  </div>
</div>

{/block}

{block name="footer"}

{include file="common/footer"}

{/block}

{block name="script"}
{include file="common/script"}
<!--更多--> 
<script>
</script> 
{/block}